import request from '@/utils/request'
import API from './contants'

/**
 * 根据主分类id查询子分类数据
 * @param { * } id
 * @returns
 */
export const getSubCategories = id => request({
  url: API.TAB_API + '/' + id,
})
